package com.lbmb.mdps.workbench.dao;

import com.lbmb.mdps.commons.domain.SupplierReceive;
import com.lbmb.mdps.workbench.domain.Supplier;

import java.util.List;

/**
 * @author WJP
 * @date 2022-05-30 1:21
 * description
 */
public interface SupplierDao {
    List<Supplier> supplierPageList(SupplierReceive supplierReceive);

    Integer getSupplierTotal(SupplierReceive supplierReceive);

    int addSupplier(Supplier supplier);

    int editSupplier(Supplier supplier);

    int deleteSupplier(String[] deleteSupplierIds);

    List<Supplier> getAllSupplier();

    Supplier getSupplierById(Long supplierId);
}
